.class Lcom/xingbook/ui/b/i;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/xingbook/ui/b/h;


# direct methods
.method public constructor <init>(Lcom/xingbook/ui/b/h;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/ui/b/i;->a:Lcom/xingbook/ui/b/h;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 6

    const/4 v5, 0x4

    const/4 v4, 0x3

    const/4 v2, 0x2

    const/4 v3, 0x1

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/xingbook/ui/b/i;->a:Lcom/xingbook/ui/b/h;

    iget-object v0, v0, Lcom/xingbook/ui/b/h;->f:Lcom/xingbook/c/a;

    invoke-virtual {v0, v1}, Lcom/xingbook/c/a;->a(I)V

    iget-object v0, p0, Lcom/xingbook/ui/b/i;->a:Lcom/xingbook/ui/b/h;

    invoke-static {v0}, Lcom/xingbook/ui/b/h;->a(Lcom/xingbook/ui/b/h;)[Landroid/widget/Button;

    move-result-object v0

    aget-object v0, v0, v1

    if-ne p1, v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/b/i;->a:Lcom/xingbook/ui/b/h;

    invoke-static {v0, v1}, Lcom/xingbook/ui/b/h;->a(Lcom/xingbook/ui/b/h;I)V

    :cond_0
    :goto_0
    iget-object v0, p0, Lcom/xingbook/ui/b/i;->a:Lcom/xingbook/ui/b/h;

    invoke-static {v0}, Lcom/xingbook/ui/b/h;->b(Lcom/xingbook/ui/b/h;)Lcom/xingbook/ui/overclass/DrawImageView;

    move-result-object v0

    iget-object v2, p0, Lcom/xingbook/ui/b/i;->a:Lcom/xingbook/ui/b/h;

    invoke-static {v2}, Lcom/xingbook/ui/b/h;->c(Lcom/xingbook/ui/b/h;)I

    move-result v2

    invoke-virtual {v0, v2}, Lcom/xingbook/ui/overclass/DrawImageView;->b(I)V

    iget-object v0, p0, Lcom/xingbook/ui/b/i;->a:Lcom/xingbook/ui/b/h;

    invoke-static {v0}, Lcom/xingbook/ui/b/h;->c(Lcom/xingbook/ui/b/h;)I

    move-result v0

    if-ltz v0, :cond_1

    move v0, v1

    :goto_1
    const/4 v2, 0x6

    if-lt v0, v2, :cond_7

    :cond_1
    return-void

    :cond_2
    iget-object v0, p0, Lcom/xingbook/ui/b/i;->a:Lcom/xingbook/ui/b/h;

    invoke-static {v0}, Lcom/xingbook/ui/b/h;->a(Lcom/xingbook/ui/b/h;)[Landroid/widget/Button;

    move-result-object v0

    aget-object v0, v0, v3

    if-ne p1, v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/ui/b/i;->a:Lcom/xingbook/ui/b/h;

    invoke-static {v0, v3}, Lcom/xingbook/ui/b/h;->a(Lcom/xingbook/ui/b/h;I)V

    goto :goto_0

    :cond_3
    iget-object v0, p0, Lcom/xingbook/ui/b/i;->a:Lcom/xingbook/ui/b/h;

    invoke-static {v0}, Lcom/xingbook/ui/b/h;->a(Lcom/xingbook/ui/b/h;)[Landroid/widget/Button;

    move-result-object v0

    aget-object v0, v0, v2

    if-ne p1, v0, :cond_4

    iget-object v0, p0, Lcom/xingbook/ui/b/i;->a:Lcom/xingbook/ui/b/h;

    invoke-static {v0, v2}, Lcom/xingbook/ui/b/h;->a(Lcom/xingbook/ui/b/h;I)V

    goto :goto_0

    :cond_4
    iget-object v0, p0, Lcom/xingbook/ui/b/i;->a:Lcom/xingbook/ui/b/h;

    invoke-static {v0}, Lcom/xingbook/ui/b/h;->a(Lcom/xingbook/ui/b/h;)[Landroid/widget/Button;

    move-result-object v0

    aget-object v0, v0, v4

    if-ne p1, v0, :cond_5

    iget-object v0, p0, Lcom/xingbook/ui/b/i;->a:Lcom/xingbook/ui/b/h;

    invoke-static {v0, v4}, Lcom/xingbook/ui/b/h;->a(Lcom/xingbook/ui/b/h;I)V

    goto :goto_0

    :cond_5
    iget-object v0, p0, Lcom/xingbook/ui/b/i;->a:Lcom/xingbook/ui/b/h;

    invoke-static {v0}, Lcom/xingbook/ui/b/h;->a(Lcom/xingbook/ui/b/h;)[Landroid/widget/Button;

    move-result-object v0

    aget-object v0, v0, v5

    if-ne p1, v0, :cond_6

    iget-object v0, p0, Lcom/xingbook/ui/b/i;->a:Lcom/xingbook/ui/b/h;

    invoke-static {v0, v5}, Lcom/xingbook/ui/b/h;->a(Lcom/xingbook/ui/b/h;I)V

    goto :goto_0

    :cond_6
    iget-object v0, p0, Lcom/xingbook/ui/b/i;->a:Lcom/xingbook/ui/b/h;

    invoke-static {v0}, Lcom/xingbook/ui/b/h;->a(Lcom/xingbook/ui/b/h;)[Landroid/widget/Button;

    move-result-object v0

    const/4 v2, 0x5

    aget-object v0, v0, v2

    if-ne p1, v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/b/i;->a:Lcom/xingbook/ui/b/h;

    const/4 v2, 0x5

    invoke-static {v0, v2}, Lcom/xingbook/ui/b/h;->a(Lcom/xingbook/ui/b/h;I)V

    goto :goto_0

    :cond_7
    iget-object v2, p0, Lcom/xingbook/ui/b/i;->a:Lcom/xingbook/ui/b/h;

    invoke-static {v2}, Lcom/xingbook/ui/b/h;->c(Lcom/xingbook/ui/b/h;)I

    move-result v2

    if-ne v0, v2, :cond_8

    iget-object v2, p0, Lcom/xingbook/ui/b/i;->a:Lcom/xingbook/ui/b/h;

    invoke-static {v2}, Lcom/xingbook/ui/b/h;->a(Lcom/xingbook/ui/b/h;)[Landroid/widget/Button;

    move-result-object v2

    aget-object v2, v2, v0

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setSelected(Z)V

    :goto_2
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    :cond_8
    iget-object v2, p0, Lcom/xingbook/ui/b/i;->a:Lcom/xingbook/ui/b/h;

    invoke-static {v2}, Lcom/xingbook/ui/b/h;->a(Lcom/xingbook/ui/b/h;)[Landroid/widget/Button;

    move-result-object v2

    aget-object v2, v2, v0

    invoke-virtual {v2, v1}, Landroid/widget/Button;->setSelected(Z)V

    goto :goto_2
.end method
